package top.v5it.japi.ddd.example.product.event;

import org.springframework.context.ApplicationListener;

/**
 * @author zhanpu
 * @date 2023/11/17
 */
public class ProductReviewEventListener implements ApplicationListener<ProductReviewEvent> {
    @Override
    public void onApplicationEvent(ProductReviewEvent event) {
        event.sendProductReviewMessage();
    }
}
